export const system_wx_user = process.env.system_wx_user || 'oGCIM6xIWkOgZ_QxejB3TrMl1-MQ'
export const system_wx_user_2 = process.env.system_wx_user_2 || 'oGCIM6wIzmDJoqPBYsci5JgpWsHY'
export const temp_wx_user = process.env.temp_wx_user || 'aaaaaaaaaaaaaaaaaaaaaaaa'
export const video_SubAppId = Number(process.env.cloudsubappid || 1315856084)
export const video_RefererKey = process.env.cloudrefererkey || 'oSbCoMKOQO5LQcyWjglw'
export const question_store_wx_user = process.env.question_store_wx_user || 'oGCIM6787ys6a8Za4LEplUw02A2w'
const local_uat = '"ab230ed1df00c8ae814598ba2437ab0f","c40eea39e0835d53e54594d105683261"'
const local_prod = '"a4aa7088784a5199ffff57c377e14b52","c8cfe6b226c4871a909cca1822b5aa1a"'
const other_uat = '"e19c9ad997fa9c4ab12f63e2655b4725","30b004017673b45f29af50ba11cbab53"'
const other_prod = '"c460be8f6a63898178868f5d7af6f457","8c85237554955accaecba724e25dd2f8","5619b3ed2fa1e1c4d3bdf17f2d3be120"'
export const login_code = process.env.logincode || `[${local_uat},${local_prod},${other_uat},${other_prod}]`
export const cosWebSite = process.env.cosWebSite || 'https://videocover-1315856084.cos-website.ap-beijing.myqcloud.com/'

export const wechartAmountRewardBig = 10 * 10 * 200;//大额悬赏，支付200 单位为分
export const wechartConsumeAccontAmountRewardBig = 10 * 10 * 100;//给用户的钱100，单位为分

//线上环境（椰子社区lite）
// const wx_appid = 'wxabc9cd5c13c3eae9'
// const wx_secret = 'fcecef1f1071e3faf264c52d6b5fe8f3'
//子应用
export const video_SubAppId_List = {
  answer: Number(process.env.cloudsubappidanswer || 1500017748),
  otherImg: Number(process.env.cloudsubappidotherimg || 1500021770),
  report: Number(process.env.cloudsubappidreport || 1500027867),
  videolibrary: Number(process.env.cloudvideolibrary || 1500028114)
}
export const video_VideoTimeout = 60 * 60 * 2 //2个小时，单位秒
//个人中心-访问管理-访问秘钥-API秘钥管理
export const secretId = process.env.cloudsecretid || 'AKIDkPuENK9mFh07D8ugIiEZ5RgpndFfrreD' // 云点播id
export const secretKey = process.env.cloudsecretkey || 'Qeu1ub5HJBrKbprfJoBMMCpdHl9OdgXC'   //云点播key

export const secretIdVideoBackUp = process.env.cloudsecretidvideobackup || 'AKIDXu3yelrzykOtALNOIzSjqmfestpccU7V' // 云点播id
export const secretKeyVideoBackUp = process.env.cloudsecretkeyvideobackup || 'GMtFwbEfsDLJBsdOyLjxxvjNzTmtuiJj'   //云点播key
export const video_SubAppId_BackUp = Number(process.env.cloudsubappidvideobackup || 1316235793)



export const wx_appid = process.env.wxappid || 'wx0957cb880357079e'
export const wx_secret = process.env.wxsecret || 'e4ba65f80439f62ded80fb5d99243e57'
export const wx_api = 'https://api.weixin.qq.com'
export const wx_open_api = 'https://open.weixin.qq.com'

//视频库上传视频微信
export const wx_appid_video_library = process.env.wxappidvideolibrary || 'wx74d773f967bb5d60'
export const wx_secret_video_library = process.env.wxsecretvideolibrary || 'c43071efab58b561ccf1162d95f4cb13'


//ye作者端（找回用户unionid）
export const wx_appid_yz_zuozhedua = process.env.wxappidyzzuozhedua || 'wx55117083ba58d60f'
export const wx_secret_yz_zuozhedua = process.env.wxsecretyzzuozhedua || '918bb1285d0199ec84f69782f9e891b8'

/**
 * 微信公众号
 */
export const wx_public_params_list = {
  appid: process.env.wxofficialappid || 'wx226f0f88ff16d2ea',
  secret: process.env.wxofficialsecret || 'd548b4661b283884f7e1b59290a8f022',
  access_token_key: process.env.wxofficialaccesstokenkey || 'wx_public_access_token'
}

export const wx_api_pay = 'https://api.mch.weixin.qq.com/v3'
export const wx_mchid = process.env.wxpaymchidh5 || '1637453350'

export const wx_serial_no = process.env.wxpayserialnoh5 || '67A2E885AEB932A1A250368230C8A89475695FFE'
export const wx_api_key = process.env.wxpayapikeyv3h5 || 'xG6HEZQp69gnH1IroSE9Csm6d4WFqxUm'
export const privateKey = process.env.wxpayprivatekeyh5 || `-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBK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BgQDA9nT/IqvZDo89Vox+ldIBNUvOaFQfe+CYGnuuUyglOmDhdPcK
w5S4ZA93fb6yN0Phr3l40e0A5qktht/9iPmx5JwolKaWIG1hW1c0JxKxH+4r8VRR
2jEdsBOOFX1OHBQ7a3irq8886vMz8fuJcqAbWiY6UJ4x2IYfL6S1Cx73wQKBgDKb
8gVP74Q6FTc+Ab7xAjm/QgyKKOn4O4kSY41a22v+9NjcCwXHpCyuyO4r+cOkBcYW
ctEc+FWHAd5WdBbMxpYhS9E3gSUpAVRRS/GjPQhSxo4qee4Gyr3PzRHnF3EVGYXF
7c1SmYke26K3TqGnKZsGeDDj7mX75l1fmhELq7b5AoGBAMDkxLUMGTDWmMHain+x
TilI9Zz3ZQVTrAF91L1CNcUnpjJn3CBkM2PghrLCDiHUmpkxpvgixolzmVbELaao
qSLPnAAWE82FQyx9rnyAeJ3U4z7qSDya3WbjkKurzSZDH/yFqOoFNAcZVQMC+mbR
Ks02O5Hh8MIzXPDPSoEzdpf+
-----END PRIVATE KEY-----
`;


//微信红包
export const wx_api_key_redMoney = 'fxUNVcQGcc2WTi6mGpbsrbR5APexuWtH'
export const wx_mchid_redMoney = '1637544907'
export const privateKey_redMoney = `-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQD3VHzOHh3NH9xK
jaI4+duzQp6in7isAv9qnLawruEKeWoxf2yJYSbAD+FCvdqJNArd1p4MD8AORn+3
nZfqz7IlcnMt8I1nge4OVajGrldAEsCEb50DZDjR4pOzPv0JImHSbuq2AIKGizuJ
qrL2GxHtAvxJwSBV/9zu4zBv3LZciY3jmCEy6h9EcVZwj8A/uk4yS2TjeGxFEBmi
KcEbmhyv/UFG49fIJoXLIJog+3hszYfFi6YADfMP5wifvTIlr85LCS/QoiuYJUhP
Z7Vh9o+9StDy5/HTKGMrtJSBZvC69NHje7yyLOSO0vW5RoPqRORWaCSEJn4awK4R
e/qCif+DAgMBAAECggEAbtnK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